import request from '@/utils/request'

const path = `${locale['serviceApi']['FMB']}-service`

const module = 'tunnel'


/**
 * 查询Tunnels数据
 */
export function getTunnelsByModuleId (moduleId) {
  return request({
    url: path + `/${module}/${moduleId}/tunnels`,
    method: 'get'
  })
}


/**
 * 查询EQPS数据
 */
export function getEQPsByTunnelId (tunnelId) {
  return request({
    url: path + `/${module}/${tunnelId}/eqps`,
    method: 'get'
  })
}

